import request from '../utils/request';


export function deleteJFXS({daoName, keys}) {
  var data = new FormData()
  data.append('ACIDS', JSON.stringify(keys))
  return request(`/api/restricted/CompJFXS/Delete`, {
    method: 'POST',
    body: data
  });
}

export function AddJFXS({daoName, acid, tzxs, tzxs2}) {
  var data = new FormData()
  data.append('acid', acid)
  data.append('tzxs', tzxs)
  data.append('tzxs2', tzxs2)
  return request(`/api/restricted/CompJFXS/Add`, {
    method: 'POST',
    body: data
  });
}


